package com.briup.cms.exception;

import com.briup.cms.util.ResultCode;

public class CustomerException extends RuntimeException {
    private ResultCode code;

    public CustomerException(ResultCode rc) {
        super(rc.getMessage());
        this.code = rc;
    }

    public ResultCode getCode() {
        return code;
    }


}
